<?php if(!defined("HDPHP_PATH"))exit;C("SHOW_NOTICE",FALSE);?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
	<title></title>
	<!-- basic styles -->
	<link href="http://localhost/qm_shop/./Qmshop/App/Admin/Tpl/Public/css/common.css" rel="stylesheet" />
	<link href="http://localhost/qm_shop/./Qmshop/App/Admin/Tpl/Public/css/bootstrap.min.css" rel="stylesheet" />
	<link href="http://localhost/qm_shop/./Qmshop/App/Admin/Tpl/Public/css/bootstrap-responsive.min.css" rel="stylesheet" />
	<link rel="stylesheet" href="http://localhost/qm_shop/./Qmshop/App/Admin/Tpl/Public/css/font-awesome.min.css" />
	<!--[if IE 7]>
	  <link rel="stylesheet" href="http://localhost/qm_shop/./Qmshop/App/Admin/Tpl/Public/css/font-awesome-ie7.min.css" />
	<![endif]-->
	<!-- page specific plugin styles -->
	
	<!-- ace styles -->
	<link rel="stylesheet" href="http://localhost/qm_shop/./Qmshop/App/Admin/Tpl/Public/css/ace.min.css" />
	<link rel="stylesheet" href="http://localhost/qm_shop/./Qmshop/App/Admin/Tpl/Public/css/ace-responsive.min.css" />
	<link rel="stylesheet" href="http://localhost/qm_shop/./Qmshop/App/Admin/Tpl/Public/css/ace-skins.min.css" />
	<!--[if lt IE 9]>
	  <link rel="stylesheet" href="http://localhost/qm_shop/./Qmshop/App/Admin/Tpl/Public/css/ace-ie.min.css" />
	<![endif]-->
</head>
<body>
	<div class="container-fluid" id="main-container">
		<div class="table-header">
			类型管理 | <a style="font-size:14px;" href="<?php echo U('Type/index');?>">类型列表</a> > <a style="font-size:14px;" href="<?php echo U('Attr/index',array('tid'=>$tid));?>">属性列表</a> > <a style="font-size:14px;" href="">添加属性</a>
		</div>
		<form action="" method="post">
			<div class="container-fluid" style="padding:0px;">
				<div class="row-fluid">
					<div class="span12">
						<table class="table table-bordered table-hover">
							<tr>
								<td>
									所属类型
								</td>
								<td>
									<input readonly type="text" value='<?php echo $ttitle;?>'/>
								</td>
							</tr>
							<tr class="success">
								<td>
									属性名称
								</td>
								<td>
									<select name="aname">
										<option value="尺寸">尺寸</option>
										<option value="颜色">颜色</option>
									</select>
								</td>
							</tr>
							<tr class="error">
								<td>
									属性值
								</td>
								<td>
									<textarea style="width:220px;height:100px;" class="autosize-transition span12" placeholder="多个属性值，以【逗号，空格，或者换行符分割】" name="acontent"></textarea>
								</td>
							</tr>
							<tr class="warning">
								<td colspan="2">
									<input type="hidden" name='tid' value='<?php echo $tid;?>'/>
									<input type="submit" class="btn btn-primary" value="添加属性" />
								</td>
							</tr>
						</table>
					</div>
				</div>
			</div>
		</form>
	</div><!-- #main-content -->
</body>
</html>